HDFS-16586. Purge FsDatasetAsyncDiskService threadgroup; it causes BP…#4347
Merged
saintstack merged 3 commits intoapache:branch-3.3from May 26, 2022
Merged
Conversation
apache#4338) * HDFS-16586. Purge FsDatasetAsyncDiskService threadgroup; it causes BPServiceActor IllegalThreadStateException 'fatal exception and exit' Remove the ThreadGroup used by executor factories; they are unused and ThreadGroups auto-destroy when their Thread-member count goes to zero. This behavior is incompatible with the configuration we have on the per-volume executor which is set to let all threads die if no use inside the keepalive time. Signed-off-by: Hexiaoqiao <hexiaoqiao@apache.org>
|
💔 -1 overall
This message was automatically generated. |
Contributor
Author
|
Running above tests in a loop locally w/ the PR in place pass. Let me push a non-change to get a new test run. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
Contributor
Author
|
TestRollingUpgrade failed on each of the three test runs. Running it in a loop locally, it does not fail w/ the patch in place. Looking at the test failures, the complaint is from shutdown handler in QJM or hang waiting on JMX bean change, unrelated to this non-functional change inside the datanode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…… (#4338)
Description of PR
Remove the ThreadGroup used by executor factories; they are unused
and ThreadGroups auto-destroy when their Thread-member count goes to zero.
This behavior is incompatible with the configuration we have on the per-volume
executor which is set to let all threads die if no use inside the
keepalive time.
Signed-off-by: Hexiaoqiao hexiaoqiao@apache.org
Backport to branch-3.3.
How was this patch tested?
By running a downstream test that was failing when this PR was not in place.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?